package com.xubeizhi.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 欠款表
 */
@Data
@TableName("b_debt")
public class Debt {

    @TableId(type = IdType.AUTO)
    private Integer id;

    private String name;//欠款人名称

    private BigDecimal fee;//欠款金额

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT-8")
    private LocalDateTime createTime;//创建时间

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT-8")
    private LocalDateTime updateTime;//更新时间

    private String remark; //备注
    private String status;//状态

    private BigDecimal received;//实收金额

    private String removeStatus;//账单状态 是否被删除
}
